package com.cuntian.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
/**
 * <p>
 * 
 * </p>
 *
 * @author cuntian
 * @since 2025-02-01
 */
@Getter
@Setter
@ToString
@TableName("friend")
public class Friend implements Serializable {

    @TableId(value = "ship_id", type = IdType.AUTO)
    private Long shipId;

    @TableField("uid")
    private Long uid;

    @TableField("fid")
    private Long fid;

    /**
     * 0  未确认，1 确认
     */
    @TableField("status")
    private Integer status;

    @TableField(value = "created_at", fill = FieldFill.INSERT)
    private LocalDateTime createdAt;

    @TableField(value = "updated_at", fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime updatedAt;
}
